#TODO 逻辑运算符
# # and or not
# a = True
# b = False
# print(a and b)
#
# #or
# print(a or b)
#
# #not
# print(not a)

#短路
a = 1
b = 0
print(1 and 0)
print(1 or 0)
print(not 1)
print(not 0)